home *** CD-ROM | disk | FTP | other *** search
/ Champak 119 / (Vol 119) Nov 09 2010.iso / TGKI-109 / Games / how_to_make_mixed_vegetable_salad.swf / scripts / DefineSprite_206 / frame_7 / DoAction.as
Text File  |  2010-11-09  |  416b  |  20 lines

  1. stop();
  2. var dd = 100;
  3. _parent.ins2._visible = true;
  4. _parent.bridge.mixCup.onPress = function()
  5. {
  6.    this.swapDepths(dpts);
  7.    startDrag(this,0);
  8.    _parent.ins2._visible = false;
  9. };
  10. _parent.bridge.mixCup.onRelease = function()
  11. {
  12.    if(_parent.hit.hitTest(this))
  13.    {
  14.       this._visible = false;
  15.       _parent.mixCup._visible = true;
  16.       nextFrame();
  17.       _parent.ins3._visible = true;
  18.    }
  19. };
  20.